home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / H-L / JD'sFundTracker.cpt / JD'sFundTracker / background_3862.xml < prev    next >
Extensible Markup Language  |  1992-07-06  |  29KB  |  730 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>3862</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_5607.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3191.css" />
  11.     <part>
  12.         <id>37</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <true /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>7</left>
  23.             <top>95</top>
  24.             <right>97</right>
  25.             <bottom>119</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <true /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Helvetica</font>
  37.         <textSize>10</textSize>
  38.         <textStyle>bold</textStyle>
  39.         <textHeight>10</textHeight>
  40.         <name>labels title</name>
  41.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon returnInFieldend returnInField</script>
  42.     </part>
  43.     <part>
  44.         <id>38</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <true /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>100</left>
  55.             <top>95</top>
  56.             <right>167</right>
  57.             <bottom>118</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <true /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>Helvetica</font>
  69.         <textSize>10</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>10</textHeight>
  72.         <name>graph Title</name>
  73.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon returnInFieldend returnInField</script>
  74.     </part>
  75.     <part>
  76.         <id>39</id>
  77.         <type>field</type>
  78.         <visible> <true /> </visible>
  79.         <dontWrap> <true /> </dontWrap>
  80.         <dontSearch> <false /> </dontSearch>
  81.         <sharedText> <false /> </sharedText>
  82.         <fixedLineHeight> <true /> </fixedLineHeight>
  83.         <autoTab> <true /> </autoTab>
  84.         <lockText> <false /> </lockText>
  85.         <rect>
  86.             <left>166</left>
  87.             <top>103</top>
  88.             <right>226</right>
  89.             <bottom>119</bottom>
  90.         </rect>
  91.         <style>transparent</style>
  92.         <autoSelect> <false /> </autoSelect>
  93.         <showLines> <true /> </showLines>
  94.         <wideMargins> <false /> </wideMargins>
  95.         <multipleLines> <false /> </multipleLines>
  96.         <reservedFamily> 0 </reservedFamily>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>left</textAlign>
  100.         <font>Geneva</font>
  101.         <textSize>9</textSize>
  102.         <textStyle>bold</textStyle>
  103.         <textHeight>12</textHeight>
  104.         <name>units</name>
  105.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon returnInFieldend returnInField</script>
  106.     </part>
  107.     <part>
  108.         <id>69</id>
  109.         <type>button</type>
  110.         <visible> <true /> </visible>
  111.         <reserved5> 0 </reserved5>
  112.         <reserved4> 0 </reserved4>
  113.         <reserved3> 0 </reserved3>
  114.         <reserved2> 0 </reserved2>
  115.         <reserved1> 0 </reserved1>
  116.         <enabled> <true /> </enabled>
  117.         <rect>
  118.             <left>250</left>
  119.             <top>89</top>
  120.             <right>385</right>
  121.             <bottom>112</bottom>
  122.         </rect>
  123.         <style>rectangle</style>
  124.         <showName> <false /> </showName>
  125.         <highlight> <false /> </highlight>
  126.         <autoHighlight> <false /> </autoHighlight>
  127.         <sharedHighlight> <true /> </sharedHighlight>
  128.         <family>0</family>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>0</icon>
  131.         <textAlign>center</textAlign>
  132.         <font>Chicago</font>
  133.         <textSize>12</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <name></name>
  136.         <script></script>
  137.     </part>
  138.     <part>
  139.         <id>59</id>
  140.         <type>field</type>
  141.         <visible> <true /> </visible>
  142.         <dontWrap> <false /> </dontWrap>
  143.         <dontSearch> <false /> </dontSearch>
  144.         <sharedText> <true /> </sharedText>
  145.         <fixedLineHeight> <true /> </fixedLineHeight>
  146.         <autoTab> <false /> </autoTab>
  147.         <lockText> <false /> </lockText>
  148.         <rect>
  149.             <left>252</left>
  150.             <top>91</top>
  151.             <right>383</right>
  152.             <bottom>110</bottom>
  153.         </rect>
  154.         <style>rectangle</style>
  155.         <autoSelect> <false /> </autoSelect>
  156.         <showLines> <false /> </showLines>
  157.         <wideMargins> <false /> </wideMargins>
  158.         <multipleLines> <false /> </multipleLines>
  159.         <reservedFamily> 0 </reservedFamily>
  160.         <titleWidth>0</titleWidth>
  161.         <icon>0</icon>
  162.         <textAlign>center</textAlign>
  163.         <font>Chicago</font>
  164.         <textSize>12</textSize>
  165.         <textStyle>condense</textStyle>
  166.         <textHeight>17</textHeight>
  167.         <name></name>
  168.         <script></script>
  169.     </part>
  170.     <part>
  171.         <id>36</id>
  172.         <type>field</type>
  173.         <visible> <true /> </visible>
  174.         <dontWrap> <true /> </dontWrap>
  175.         <dontSearch> <false /> </dontSearch>
  176.         <sharedText> <false /> </sharedText>
  177.         <fixedLineHeight> <true /> </fixedLineHeight>
  178.         <autoTab> <false /> </autoTab>
  179.         <lockText> <false /> </lockText>
  180.         <rect>
  181.             <left>7</left>
  182.             <top>121</top>
  183.             <right>97</right>
  184.             <bottom>316</bottom>
  185.         </rect>
  186.         <style>transparent</style>
  187.         <autoSelect> <false /> </autoSelect>
  188.         <showLines> <false /> </showLines>
  189.         <wideMargins> <false /> </wideMargins>
  190.         <multipleLines> <false /> </multipleLines>
  191.         <reservedFamily> 0 </reservedFamily>
  192.         <titleWidth>0</titleWidth>
  193.         <icon>0</icon>
  194.         <textAlign>right</textAlign>
  195.         <font>Geneva</font>
  196.         <textSize>9</textSize>
  197.         <textStyle>plain</textStyle>
  198.         <textHeight>12</textHeight>
  199.         <name>labels</name>
  200.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon tabKeyput word 2 of the selectedLine into theLineif last char of bg field "Data" ‚↠returnthen put return after bg field "Data"select after line theLine of bg field "Data"end tabKey</script>
  201.     </part>
  202.     <part>
  203.         <id>35</id>
  204.         <type>field</type>
  205.         <visible> <true /> </visible>
  206.         <dontWrap> <true /> </dontWrap>
  207.         <dontSearch> <false /> </dontSearch>
  208.         <sharedText> <false /> </sharedText>
  209.         <fixedLineHeight> <true /> </fixedLineHeight>
  210.         <autoTab> <false /> </autoTab>
  211.         <lockText> <false /> </lockText>
  212.         <rect>
  213.             <left>101</left>
  214.             <top>121</top>
  215.             <right>166</right>
  216.             <bottom>316</bottom>
  217.         </rect>
  218.         <style>transparent</style>
  219.         <autoSelect> <false /> </autoSelect>
  220.         <showLines> <false /> </showLines>
  221.         <wideMargins> <false /> </wideMargins>
  222.         <multipleLines> <false /> </multipleLines>
  223.         <reservedFamily> 0 </reservedFamily>
  224.         <titleWidth>0</titleWidth>
  225.         <icon>0</icon>
  226.         <textAlign>right</textAlign>
  227.         <font>Geneva</font>
  228.         <textSize>9</textSize>
  229.         <textStyle>plain</textStyle>
  230.         <textHeight>12</textHeight>
  231.         <name>data</name>
  232.         <script>on closeField-- Requires handler: shareTheDatashareTheDataput false into bg field "Drew Data"pass closeFieldend closeFieldon exitField-- Requires handler: shareTheDatashareTheDatapass exitFieldend exitFieldon tabKeyput word 2 of the selectedLine into theLineif last char of bg field "Labels" ‚↠returnthen put return after bg field "Labels"select after line theLine of bg field "Labels"end tabKey</script>
  233.     </part>
  234.     <part>
  235.         <id>9</id>
  236.         <type>field</type>
  237.         <visible> <false /> </visible>
  238.         <dontWrap> <false /> </dontWrap>
  239.         <dontSearch> <false /> </dontSearch>
  240.         <sharedText> <false /> </sharedText>
  241.         <fixedLineHeight> <true /> </fixedLineHeight>
  242.         <autoTab> <false /> </autoTab>
  243.         <lockText> <true /> </lockText>
  244.         <rect>
  245.             <left>4</left>
  246.             <top>22</top>
  247.             <right>331</right>
  248.             <bottom>58</bottom>
  249.         </rect>
  250.         <style>transparent</style>
  251.         <autoSelect> <false /> </autoSelect>
  252.         <showLines> <false /> </showLines>
  253.         <wideMargins> <false /> </wideMargins>
  254.         <multipleLines> <false /> </multipleLines>
  255.         <reservedFamily> 0 </reservedFamily>
  256.         <titleWidth>0</titleWidth>
  257.         <icon>0</icon>
  258.         <textAlign>left</textAlign>
  259.         <font>Palatino</font>
  260.         <textSize>24</textSize>
  261.         <textStyle>plain</textStyle>
  262.         <textHeight>32</textHeight>
  263.         <name>graph type</name>
  264.         <script></script>
  265.     </part>
  266.     <part>
  267.         <id>52</id>
  268.         <type>field</type>
  269.         <visible> <false /> </visible>
  270.         <dontWrap> <false /> </dontWrap>
  271.         <dontSearch> <false /> </dontSearch>
  272.         <sharedText> <false /> </sharedText>
  273.         <fixedLineHeight> <true /> </fixedLineHeight>
  274.         <autoTab> <false /> </autoTab>
  275.         <lockText> <false /> </lockText>
  276.         <rect>
  277.             <left>0</left>
  278.             <top>327</top>
  279.             <right>103</right>
  280.             <bottom>342</bottom>
  281.         </rect>
  282.         <style>transparent</style>
  283.         <autoSelect> <false /> </autoSelect>
  284.         <showLines> <false /> </showLines>
  285.         <wideMargins> <false /> </wideMargins>
  286.         <multipleLines> <false /> </multipleLines>
  287.         <reservedFamily> 0 </reservedFamily>
  288.         <titleWidth>0</titleWidth>
  289.         <icon>0</icon>
  290.         <textAlign>left</textAlign>
  291.         <font>Geneva</font>
  292.         <textSize>9</textSize>
  293.         <textStyle>plain</textStyle>
  294.         <textHeight>12</textHeight>
  295.         <name>graph rect</name>
  296.         <script></script>
  297.     </part>
  298.     <part>
  299.         <id>57</id>
  300.         <type>field</type>
  301.         <visible> <true /> </visible>
  302.         <dontWrap> <false /> </dontWrap>
  303.         <dontSearch> <false /> </dontSearch>
  304.         <sharedText> <true /> </sharedText>
  305.         <fixedLineHeight> <true /> </fixedLineHeight>
  306.         <autoTab> <false /> </autoTab>
  307.         <lockText> <false /> </lockText>
  308.         <rect>
  309.             <left>7</left>
  310.             <top>69</top>
  311.             <right>231</right>
  312.             <bottom>87</bottom>
  313.         </rect>
  314.         <style>transparent</style>
  315.         <autoSelect> <false /> </autoSelect>
  316.         <showLines> <false /> </showLines>
  317.         <wideMargins> <false /> </wideMargins>
  318.         <multipleLines> <false /> </multipleLines>
  319.         <reservedFamily> 0 </reservedFamily>
  320.         <titleWidth>0</titleWidth>
  321.         <icon>0</icon>
  322.         <textAlign>left</textAlign>
  323.         <font>Palatino</font>
  324.         <textSize>12</textSize>
  325.         <textStyle>plain</textStyle>
  326.         <textHeight>16</textHeight>
  327.         <name>instructions</name>
  328.         <script></script>
  329.     </part>
  330.     <part>
  331.         <id>58</id>
  332.         <type>button</type>
  333.         <visible> <true /> </visible>
  334.         <reserved5> 0 </reserved5>
  335.         <reserved4> 0 </reserved4>
  336.         <reserved3> 0 </reserved3>
  337.         <reserved2> 0 </reserved2>
  338.         <reserved1> 0 </reserved1>
  339.         <enabled> <true /> </enabled>
  340.         <rect>
  341.             <left>252</left>
  342.             <top>91</top>
  343.             <right>383</right>
  344.             <bottom>110</bottom>
  345.         </rect>
  346.         <style>transparent</style>
  347.         <showName> <false /> </showName>
  348.         <highlight> <false /> </highlight>
  349.         <autoHighlight> <true /> </autoHighlight>
  350.         <sharedHighlight> <true /> </sharedHighlight>
  351.         <family>0</family>
  352.         <titleWidth>0</titleWidth>
  353.         <icon>0</icon>
  354.         <textAlign>center</textAlign>
  355.         <font>Chicago</font>
  356.         <textSize>12</textSize>
  357.         <textStyle>plain</textStyle>
  358.         <name>drawGraph</name>
  359.         <script>on mouseUp-- Requires handler: drawChartdrawChartend mouseUp</script>
  360.     </part>
  361.     <part>
  362.         <id>64</id>
  363.         <type>field</type>
  364.         <visible> <true /> </visible>
  365.         <dontWrap> <true /> </dontWrap>
  366.         <dontSearch> <false /> </dontSearch>
  367.         <sharedText> <false /> </sharedText>
  368.         <fixedLineHeight> <true /> </fixedLineHeight>
  369.         <autoTab> <false /> </autoTab>
  370.         <lockText> <true /> </lockText>
  371.         <rect>
  372.             <left>168</left>
  373.             <top>117</top>
  374.             <right>226</right>
  375.             <bottom>317</bottom>
  376.         </rect>
  377.         <style>transparent</style>
  378.         <autoSelect> <false /> </autoSelect>
  379.         <showLines> <false /> </showLines>
  380.         <wideMargins> <true /> </wideMargins>
  381.         <multipleLines> <false /> </multipleLines>
  382.         <reservedFamily> 0 </reservedFamily>
  383.         <titleWidth>0</titleWidth>
  384.         <icon>0</icon>
  385.         <textAlign>right</textAlign>
  386.         <font>Geneva</font>
  387.         <textSize>9</textSize>
  388.         <textStyle>plain</textStyle>
  389.         <textHeight>12</textHeight>
  390.         <name>percents</name>
  391.         <script></script>
  392.     </part>
  393.     <part>
  394.         <id>73</id>
  395.         <type>button</type>
  396.         <visible> <false /> </visible>
  397.         <reserved5> 0 </reserved5>
  398.         <reserved4> 0 </reserved4>
  399.         <reserved3> 0 </reserved3>
  400.         <reserved2> 0 </reserved2>
  401.         <reserved1> 0 </reserved1>
  402.         <enabled> <true /> </enabled>
  403.         <rect>
  404.             <left>8</left>
  405.             <top>300</top>
  406.             <right>171</right>
  407.             <bottom>314</bottom>
  408.         </rect>
  409.         <style>rectangle</style>
  410.         <showName> <false /> </showName>
  411.         <highlight> <false /> </highlight>
  412.         <autoHighlight> <false /> </autoHighlight>
  413.         <sharedHighlight> <true /> </sharedHighlight>
  414.         <family>0</family>
  415.         <titleWidth>0</titleWidth>
  416.         <icon>0</icon>
  417.         <textAlign>center</textAlign>
  418.         <font>Chicago</font>
  419.         <textSize>12</textSize>
  420.         <textStyle>plain</textStyle>
  421.         <name>total frame</name>
  422.         <script></script>
  423.     </part>
  424.     <part>
  425.         <id>65</id>
  426.         <type>field</type>
  427.         <visible> <false /> </visible>
  428.         <dontWrap> <false /> </dontWrap>
  429.         <dontSearch> <false /> </dontSearch>
  430.         <sharedText> <false /> </sharedText>
  431.         <fixedLineHeight> <true /> </fixedLineHeight>
  432.         <autoTab> <false /> </autoTab>
  433.         <lockText> <false /> </lockText>
  434.         <rect>
  435.             <left>450</left>
  436.             <top>65</top>
  437.             <right>512</right>
  438.             <bottom>79</bottom>
  439.         </rect>
  440.         <style>rectangle</style>
  441.         <autoSelect> <false /> </autoSelect>
  442.         <showLines> <false /> </showLines>
  443.         <wideMargins> <false /> </wideMargins>
  444.         <multipleLines> <false /> </multipleLines>
  445.         <reservedFamily> 0 </reservedFamily>
  446.         <titleWidth>0</titleWidth>
  447.         <icon>0</icon>
  448.         <textAlign>left</textAlign>
  449.         <font>Geneva</font>
  450.         <textSize>9</textSize>
  451.         <textStyle>plain</textStyle>
  452.         <textHeight>12</textHeight>
  453.         <name>Drew Data</name>
  454.         <script></script>
  455.     </part>
  456.     <part>
  457.         <id>70</id>
  458.         <type>field</type>
  459.         <visible> <false /> </visible>
  460.         <dontWrap> <false /> </dontWrap>
  461.         <dontSearch> <false /> </dontSearch>
  462.         <sharedText> <false /> </sharedText>
  463.         <fixedLineHeight> <true /> </fixedLineHeight>
  464.         <autoTab> <false /> </autoTab>
  465.         <lockText> <true /> </lockText>
  466.         <rect>
  467.             <left>172</left>
  468.             <top>300</top>
  469.             <right>224</right>
  470.             <bottom>314</bottom>
  471.         </rect>
  472.         <style>rectangle</style>
  473.         <autoSelect> <false /> </autoSelect>
  474.         <showLines> <false /> </showLines>
  475.         <wideMargins> <false /> </wideMargins>
  476.         <multipleLines> <false /> </multipleLines>
  477.         <reservedFamily> 0 </reservedFamily>
  478.         <titleWidth>0</titleWidth>
  479.         <icon>0</icon>
  480.         <textAlign>right</textAlign>
  481.         <font>Geneva</font>
  482.         <textSize>9</textSize>
  483.         <textStyle>plain</textStyle>
  484.         <textHeight>13</textHeight>
  485.         <name>percent total</name>
  486.         <script>on mouseDown-- Requires handler: updateTotalsupdateTotalsend mouseDown</script>
  487.     </part>
  488.     <part>
  489.         <id>71</id>
  490.         <type>field</type>
  491.         <visible> <false /> </visible>
  492.         <dontWrap> <false /> </dontWrap>
  493.         <dontSearch> <false /> </dontSearch>
  494.         <sharedText> <false /> </sharedText>
  495.         <fixedLineHeight> <true /> </fixedLineHeight>
  496.         <autoTab> <false /> </autoTab>
  497.         <lockText> <true /> </lockText>
  498.         <rect>
  499.             <left>97</left>
  500.             <top>301</top>
  501.             <right>166</right>
  502.             <bottom>316</bottom>
  503.         </rect>
  504.         <style>transparent</style>
  505.         <autoSelect> <false /> </autoSelect>
  506.         <showLines> <false /> </showLines>
  507.         <wideMargins> <false /> </wideMargins>
  508.         <multipleLines> <false /> </multipleLines>
  509.         <reservedFamily> 0 </reservedFamily>
  510.         <titleWidth>0</titleWidth>
  511.         <icon>0</icon>
  512.         <textAlign>right</textAlign>
  513.         <font>Geneva</font>
  514.         <textSize>9</textSize>
  515.         <textStyle>bold</textStyle>
  516.         <textHeight>12</textHeight>
  517.         <name>total</name>
  518.         <script>on mouseDown-- Requires handler: updateTotalsupdateTotalsend mouseDown</script>
  519.     </part>
  520.     <part>
  521.         <id>72</id>
  522.         <type>button</type>
  523.         <visible> <false /> </visible>
  524.         <reserved5> 0 </reserved5>
  525.         <reserved4> 0 </reserved4>
  526.         <reserved3> 0 </reserved3>
  527.         <reserved2> 0 </reserved2>
  528.         <reserved1> 0 </reserved1>
  529.         <enabled> <true /> </enabled>
  530.         <rect>
  531.             <left>61</left>
  532.             <top>300</top>
  533.             <right>99</right>
  534.             <bottom>314</bottom>
  535.         </rect>
  536.         <style>transparent</style>
  537.         <showName> <true /> </showName>
  538.         <highlight> <false /> </highlight>
  539.         <autoHighlight> <false /> </autoHighlight>
  540.         <sharedHighlight> <true /> </sharedHighlight>
  541.         <family>0</family>
  542.         <titleWidth>0</titleWidth>
  543.         <icon>0</icon>
  544.         <textAlign>left</textAlign>
  545.         <font>Geneva</font>
  546.         <textSize>9</textSize>
  547.         <textStyle>plain</textStyle>
  548.         <name>Total:</name>
  549.         <script>on mouseDown-- Requires handler: updateTotalsupdateTotalsend mouseDown</script>
  550.     </part>
  551.     <part>
  552.         <id>50</id>
  553.         <type>button</type>
  554.         <visible> <false /> </visible>
  555.         <reserved5> 0 </reserved5>
  556.         <reserved4> 0 </reserved4>
  557.         <reserved3> 0 </reserved3>
  558.         <reserved2> 0 </reserved2>
  559.         <reserved1> 0 </reserved1>
  560.         <enabled> <true /> </enabled>
  561.         <rect>
  562.             <left>361</left>
  563.             <top>114</top>
  564.             <right>511</right>
  565.             <bottom>338</bottom>
  566.         </rect>
  567.         <style>rectangle</style>
  568.         <showName> <false /> </showName>
  569.         <highlight> <false /> </highlight>
  570.         <autoHighlight> <false /> </autoHighlight>
  571.         <sharedHighlight> <true /> </sharedHighlight>
  572.         <family>0</family>
  573.         <titleWidth>0</titleWidth>
  574.         <icon>0</icon>
  575.         <textAlign>center</textAlign>
  576.         <font>Chicago</font>
  577.         <textSize>12</textSize>
  578.         <textStyle>plain</textStyle>
  579.         <name>Legend</name>
  580.         <script>on mouseDown-- Requires handler: doDragBtnset cursor to "Grab Hand"hide bg btn "GrowLegend"doDragBtn name of me,0,62,width of card window,height of card windowset botRight of bg btn "GrowLegend" to botRight of meshow bg btn "GrowLegend"end mouseDownon mouseup-- Requires handler: drawChartdrawChartend mouseup</script>
  581.     </part>
  582.     <part>
  583.         <id>51</id>
  584.         <type>button</type>
  585.         <visible> <false /> </visible>
  586.         <reserved5> 0 </reserved5>
  587.         <reserved4> 0 </reserved4>
  588.         <reserved3> 0 </reserved3>
  589.         <reserved2> 0 </reserved2>
  590.         <reserved1> 0 </reserved1>
  591.         <enabled> <true /> </enabled>
  592.         <rect>
  593.             <left>495</left>
  594.             <top>322</top>
  595.             <right>511</right>
  596.             <bottom>338</bottom>
  597.         </rect>
  598.         <style>rectangle</style>
  599.         <showName> <false /> </showName>
  600.         <highlight> <false /> </highlight>
  601.         <autoHighlight> <false /> </autoHighlight>
  602.         <sharedHighlight> <true /> </sharedHighlight>
  603.         <family>0</family>
  604.         <titleWidth>0</titleWidth>
  605.         <icon>15467</icon>
  606.         <textAlign>center</textAlign>
  607.         <font>Chicago</font>
  608.         <textSize>12</textSize>
  609.         <textStyle>plain</textStyle>
  610.         <name>growLegend</name>
  611.         <script>on mouseDown-- Requires function handlers: validatedData,maxCharsset cursor to arrowset icon of me to "Inverse Grow Box"set style of me to rectangleset style of bg btn "Legend" to "rectangle"put the rect of bg btn "Legend" into frameRectput width of me div 2 into halfMyWidthput height of me div 2 into halfMyHeightput number of lines of validatedData(bg field "Data") into dataCountput maxChars(stripReturns(bg field "Labels")) * 8 into maxLabelSizeput maxLabelSize + 70 into maxWidthput (dataCount * 17) + 20 into maxHeightput width of card window into cardWidthput height of card window into cardHeightrepeat until the mouse is upput the mouseLoc into newLocif item 1 of newLoc <= (item 1 of frameRect + maxWidth)then put item 1 of frameRect + (maxWidth - halfMyWidth) ¬¨into item 1 of newLocput min(item 1 of newLoc,cardWidth - halfMyWidth) ¬¨into item 1 of newLocif item 2 of newLoc <= (item 2 of frameRect + maxHeight)then put item 2 of frameRect + (maxHeight - halfMyHeight) ¬¨into item 2 of newLocput min(item 2 of newLoc,cardHeight - halfMyHeight) ¬¨into item 2 of newLocset loc of me to newLocput bottom of me into item 4 of frameRect -- new bottomput right of me into item 3 of frameRect -- new rightset rect of bg btn "Legend" to frameRectend repeatset icon of me to "Grow Box"set style of me to rectangleend mouseDownon mouseup-- Requires handlers: drawChartdrawChartend mouseup</script>
  612.     </part>
  613.     <part>
  614.         <id>46</id>
  615.         <type>button</type>
  616.         <visible> <true /> </visible>
  617.         <reserved5> 0 </reserved5>
  618.         <reserved4> 0 </reserved4>
  619.         <reserved3> 0 </reserved3>
  620.         <reserved2> 0 </reserved2>
  621.         <reserved1> 0 </reserved1>
  622.         <enabled> <true /> </enabled>
  623.         <rect>
  624.             <left>0</left>
  625.             <top>62</top>
  626.             <right>509</right>
  627.             <bottom>339</bottom>
  628.         </rect>
  629.         <style>rectangle</style>
  630.         <showName> <false /> </showName>
  631.         <highlight> <false /> </highlight>
  632.         <autoHighlight> <false /> </autoHighlight>
  633.         <sharedHighlight> <true /> </sharedHighlight>
  634.         <family>0</family>
  635.         <titleWidth>0</titleWidth>
  636.         <icon>0</icon>
  637.         <textAlign>center</textAlign>
  638.         <font>Geneva</font>
  639.         <textSize>10</textSize>
  640.         <textStyle>plain</textStyle>
  641.         <name>frame</name>
  642.         <script>on mouseDown-- Requires handler: doDragBtnset cursor to "Grab Hand"doDragBtn name of me,0,62,width of card window,height of card windowset botRight of bg btn "Grow" to botRight of meshow bg btn "Grow"end mouseDownon mouseUp-- Requires handler: saveRect,drawChartsaveRectdrawChartend mouseUp</script>
  643.     </part>
  644.     <part>
  645.         <id>63</id>
  646.         <type>field</type>
  647.         <visible> <false /> </visible>
  648.         <dontWrap> <false /> </dontWrap>
  649.         <dontSearch> <false /> </dontSearch>
  650.         <sharedText> <false /> </sharedText>
  651.         <fixedLineHeight> <true /> </fixedLineHeight>
  652.         <autoTab> <false /> </autoTab>
  653.         <lockText> <true /> </lockText>
  654.         <rect>
  655.             <left>5</left>
  656.             <top>64</top>
  657.             <right>227</right>
  658.             <bottom>318</bottom>
  659.         </rect>
  660.         <style>shadow</style>
  661.         <autoSelect> <false /> </autoSelect>
  662.         <showLines> <false /> </showLines>
  663.         <wideMargins> <true /> </wideMargins>
  664.         <multipleLines> <false /> </multipleLines>
  665.         <reservedFamily> 0 </reservedFamily>
  666.         <titleWidth>0</titleWidth>
  667.         <icon>0</icon>
  668.         <textAlign>left</textAlign>
  669.         <font>Palatino</font>
  670.         <textSize>14</textSize>
  671.         <textStyle>plain</textStyle>
  672.         <textHeight>18</textHeight>
  673.         <name>graph info</name>
  674.         <script>on mouseUp-- Requires handler: showInfoshowInfo falseend mouseUp</script>
  675.     </part>
  676.     <part>
  677.         <id>74</id>
  678.         <type>button</type>
  679.         <visible> <true /> </visible>
  680.         <reserved5> 0 </reserved5>
  681.         <reserved4> 0 </reserved4>
  682.         <reserved3> 0 </reserved3>
  683.         <reserved2> 0 </reserved2>
  684.         <reserved1> 0 </reserved1>
  685.         <enabled> <true /> </enabled>
  686.         <rect>
  687.             <left>495</left>
  688.             <top>324</top>
  689.             <right>509</right>
  690.             <bottom>339</bottom>
  691.         </rect>
  692.         <style>transparent</style>
  693.         <showName> <false /> </showName>
  694.         <highlight> <false /> </highlight>
  695.         <autoHighlight> <false /> </autoHighlight>
  696.         <sharedHighlight> <true /> </sharedHighlight>
  697.         <family>0</family>
  698.         <titleWidth>0</titleWidth>
  699.         <icon>0</icon>
  700.         <textAlign>center</textAlign>
  701.         <font>Chicago</font>
  702.         <textSize>12</textSize>
  703.         <textStyle>plain</textStyle>
  704.         <name>Grow</name>
  705.         <script></script>
  706.     </part>
  707.     <content>
  708.         <layer>background</layer>
  709.         <id>37</id>
  710.         <text>Month</text>
  711.     </content>
  712.     <content>
  713.         <layer>background</layer>
  714.         <id>39</id>
  715.         <text>wombats</text>
  716.     </content>
  717.     <content>
  718.         <layer>background</layer>
  719.         <id>38</id>
  720.         <text>Population</text>
  721.     </content>
  722.     <content>
  723.         <layer>background</layer>
  724.         <id>59</id>
  725.         <text>Draw Graph</text>
  726.     </content>
  727.     <name>Graphs</name>
  728.     <script>‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àûScript of stack: Graph MakerTHE MESSAGE HANDLERS IN THIS SCRIPT:openCard,closeCard,openField,closeField,exitField,enterInField,enterKeydoDragBtn,resetDrawFlag,shareTheData,showInfo,clearScreen,setFontsaveRect,checkUserCancelTHE FUNCTION HANDLERS IN THIS SCRIPT:stripReturns,validatedData,roundUp,rectWidth,rectHeightgetMaxValue,maxChars‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àûon SETCardglobal IsCommonData,theData,theLabels,theTitle,theDataTitle,theUnitsget bg field "Graph Rect"set rect of bg btn "Frame" to line 1 of itset rect of bg btn "Grow" to line 2 of itunlock screen-- if IsCommonData then-- put theData into bg field "Data"-- put theLabels into bg field "Labels"put theDataTitle into bg field "Labels Title"put theTitle into bg field "Graph Title"put theUnits into bg field "Units"-- end ifif not bg field "Drew Data" thensend "drawChart" to this cardput true into bg field "Drew Data"end ifpass openCardend SETCardon closeCard-- Requires handlers: saveRect,showInfosaveRect -- saves current frame sizeshowInfo falselock screenpass closeCardend closeCardon enterInFieldclick at the loc of bg btn "Drawgraph"end enterInFieldon enterKeyclick at the loc of bg btn "Drawgraph"end enterKey-----  Misc  ----------------------------------------------------on doDragBtn btnID,left,top,right,bottom-- drag a button within the card areaput (the clickH - item 1 of the loc of btnID) into horzStartput (the clickV - item 2 of the loc of btnID) into vertStartput width of btnID div 2 into horzOffsetput height of btnID div 2 into vertOffsetput horzOffset + left into cardLeftput vertOffset + top into cardTopput right - horzOffset into cardRightput bottom - vertOffset into cardBottomrepeat until the mouse is upput max(the mouseH - horzStart,cardLeft) into horzput min(horz,cardRight) into item 1 of newLocput max(the mouseV - vertStart,cardTop) into vertput min(vert,cardBottom) into item 2 of newLocset loc of btnID to newLocend repeatend doDragBtnon resetDrawFlagput "11352,13427,12850,14091" into cardIdNumsput value(the target) into theDatarepeat with count = 1 to 4-- put false into bg field "Drew Data" of card id (item count of cardIDNums)end repeatend resetDrawFlagon shareTheData-- Requires handler: resetDrawFlagglobal IsCommonData,theData,theLabels,theTitle,theDataTitle,theUnits-- if IsCommonData thenresetDrawFlagput bg field "Data" into theDataput bg field "Labels" into theLabelsput bg field "Labels Title" into theDataTitleput bg field "Graph Title" into theTitleput bg field "Units" into theUnits-- else put false into bg field "Drew Data"end shareTheDataon showInfo showHideset visible of bg field "Graph Info" to showHideend showInfo-----  Utilities  -----------------------------------------------on clearScreen-- removes the paint from the card layerchoose "Select Tool"doMenu "Select All"doMenu "Clear Picture"end clearScreenon setFont fontName,fontSize,fontAlignment,fontStyleif fontName is not empty then set textFont to fontNameif fontSize is not empty then set textSize to fontSizeif fontSize is not empty then set textheight to fontSizeif fontAlignment is not empty then set textAlign to fontAlignmentif fontStyle is not empty then set textStyle to fontStyleend setFonton saveRect-- "Graph Rect" is a hidden fieldput rect of bg btn "Frame" into line 1 of bg field "Graph Rect"put rect of bg btn "Grow" into line 2 of bg field "Graph Rect"end saveRecton checkUserCancelif the mouseClick thenchoose browse toolexit to hyperCardend ifend checkUserCancelfunction stripReturns theText -- remove all trailing return charsrepeat until last char of theText ‚↠returndelete last char of theTextend repeatreturn theTextend stripReturns-----  Data Functions  -----------------------------------------------function validatedData data,labelsput max(number of lines in data,number of lines in labels) into numDatarepeat with count = 1 to numDataif ((line count of data is not a number) or ¬¨(line count of data < 0) or (line count of data is empty))then put zero into line count of dataend repeatreturn dataend validatedDatafunction roundUp anyNumber-- rounds a number to the nearest value divisible by 10,100,1000, etcput trunc(anyNumber) into wholeNumberput (10^(length(wholeNumber) - 1)) into divisorif wholeNumber mod divisor = 0 then return wholeNumberelse return (trunc((wholeNumber/divisor) + 1)) * divisorend roundUpfunction rectWidth theRect-- returns the width of a rectanglereturn item 3 of theRect - item 1 of theRectend rectWidthfunction rectHeight theRect-- returns the height of a rectanglereturn item 4 of theRect - item 2 of theRectend rectHeightfunction getMaxValue dataList-- returns the number with the highest valuesort dataList descending numericreturn line 1 of dataListend getMaxValuefunction maxChars textList-- determines the longest word of a listput 0 into longestrepeat with theLine = 1 to the number of lines in textListif length(line theLine of textList) > longestthen put length(line theLine of textList) into longestend repeatreturn longestend maxChars</script>
  729. </background>
  730.